package org.mybatis3.test4;

import org.aopalliance.intercept.Joinpoint;
import org.aspectj.lang.JoinPoint;

public class UserServiceLogger {


    public void before(JoinPoint joinPoint){
        System.out.println("马上要查询用户了");
        System.out.println("增强的方法："+joinPoint.getTarget()+":"+joinPoint.getSignature());
    }
    public void after(){
        System.out.println("查询完毕");
    }

}
